package com.how2java.pojo;

/**
 * Created by didi on 27/01/2018.
 */
public class Product {
    private int id;
    private String name;
    private Category category;

    public Product() {
        System.out.println("Product init!");
    }

    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public Category getCategory() {
        return category;
    }
    public void setCategory(Category category) {
        this.category = category;
    }
}
